﻿@{
    ViewBag.Title = "通知列表";
}

@section Header {
    <a href="#" data-rel="back" data-role="button">返回</a>
    <h1>@ViewBag.Title</h1>
}

<ul data-role="listview" data-inset="true">
    <li data-role="list-divider">标题 <span class="ui-li-count">到期时间</span></li>

    @{
        var data = (List<LandPortMoblieWeb.Models.Massage>)ViewBag.massage;

        if (data != null && data.Count > 0)
        {
            foreach (var item in data)
            {
                <li>
                    <a href="/Home/MassageDetails?id=@item.Id">
                        <p><strong>@item.Title</strong></p>
                        <p class="ui-li-aside"><strong>@item.ExpriatinDate.ToString("yyyy-MM-dd")</strong></p>
                    </a>
                </li>
            }

        }
    }

</ul>
